/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Inheritance;

/**
 *
 * @author novaldebbyp
 */
public class Dog extends Animal{
    public Dog(){
        System.out.println("A new dog has been created!");
    }
    
    public void sleep(){
        System.out.println("A dog sleeps...");
    }
    
    public void eat(){
        System.out.println("A dog eats...");
    }
}
